import request from '@/utils/request'
export function hazardPageApi (params) {
  return request({
    url: '/api/hazardousWaste/pageList',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}

export function hazardAddApi (params) {
  return request({
    url: '/api/hazardousWaste/add',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}

export function hazardUpdateApi (params) {
  return request({
    url: '/api/hazardousWaste/update',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function hazardDelete (params) {
  return request({
    url: '/api/hazardousWaste/delete',
    method: 'DELETE',
    params
  })
}
